<?php /* Smarty version Smarty-3.1.6, created on 2013-07-11 11:07:05
         compiled from "./templates\materialReport.tpl" */ ?>
<?php /*%%SmartyHeaderCode:873751de4481c48cd2-02159096%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd249e2f55cc9b889ac7f39317b75d5fbb2f68000' => 
    array (
      0 => './templates\\materialReport.tpl',
      1 => 1372768621,
      2 => 'file',
    ),
    '52063fbeea0f2ac393e2ebb0f4051c4448bea9b9' => 
    array (
      0 => './templates\\main.tpl',
      1 => 1372686418,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '873751de4481c48cd2-02159096',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    's_activId' => 0,
    'selUsermenuArr' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_51de448210e67',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51de448210e67')) {function content_51de448210e67($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\shakti\\include\\smarty\\libs\\plugins\\function.html_options.php';
if (!is_callable('smarty_function_html_select_date')) include 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\shakti\\include\\smarty\\libs\\plugins\\function.html_select_date.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<title>Shakti</title>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js" ></script>

<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="./css/menu.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery.toastmessage-min.css" type="text/css" rel="stylesheet"/>
<link href="./css/jquery.autocomplete.css" type="text/css" rel="stylesheet" media="all">

<script type="text/javascript">
$(document).ready(function() {
  $("#party").autocomplete("getPartyNameAuto.php", 
	{    
		width: 150,     
		matchContains: true,
		mustMatch: false,
		minChars: 0,
		//multiple: true,
		highlight: false,
		//multipleSeparator: ",",
		selectFirst: true,
		formatItem: function(data, i, n, value) {   
		  return  value.split("|")[0];
	  }
  });
  $("#party").result(function(event, data, formatted) {
	  $("#partyId").val(data[1]);
	  $("#partyName").val(data[2]);
  });

  $("#incomingChallan").autocomplete("getInChallanAuto.php", 
	{    
		width: 150,     
		matchContains: true,
		mustMatch: false,
		minChars: 0,
		//multiple: true,
		highlight: false,
		//multipleSeparator: ",",
		selectFirst: true,
		formatItem: function(data, i, n, value) {   
		  return  value.split("|")[0];
	  }
  });
  $("#incomingChallan").result(function(event, data, formatted) {
	  $("#incomingIdAuto").val(data[1]);
	  $("#incChallan").val(data[2]);
  });

});
function getHide(theId){
  var dataString = "incomingId=" + theId;
	$.ajax({
		type: "GET",
		url: "getHide.php",
		data: dataString,
		success:function(data)
		{
			$("#getData").html(data);
	  }
	});
}
</script>

<script type="text/javascript">
//SuckerTree Horizontal Menu (Sept 14th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
var menuids=["treemenu1"] //Enter id(s) of SuckerTree UL menus, separated by commas
function buildsubmenus_horizontal()
{
  for (var i=0; i<menuids.length; i++)
  {
    var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++)
    {
  		if(ultags[t].parentNode.parentNode.id==menuids[i])
  		{ //if this is a first level submenu
  			ultags[t].style.top=ultags[t].parentNode.offsetHeight+"px" //dynamically position first level submenus to be height of main menu item
  			ultags[t].parentNode.getElementsByTagName("a")[0].className="mainfoldericon"
		  }
		  else
		  { //else if this is a sub level menu (ul)
  		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
      	ultags[t].parentNode.getElementsByTagName("a")[0].className="subfoldericon"
		  }
      ultags[t].parentNode.onmouseover=function()
      {
        this.getElementsByTagName("ul")[0].style.visibility="visible"
      }
      ultags[t].parentNode.onmouseout=function()
      {
        this.getElementsByTagName("ul")[0].style.visibility="hidden"
      }
    }
  }
}
if (window.addEventListener)
window.addEventListener("load", buildsubmenus_horizontal, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus_horizontal)
</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
    <td class="content">
    <?php if (strlen($_smarty_tpl->tpl_vars['s_activId']->value)>0){?>
      <a href="logout.php" class="link">Logout</a> |
      <b>User Name : <?php echo $_smarty_tpl->tpl_vars['s_activId']->value;?>
</b>
    <?php }else{ ?>
      <a href="checkLogin.php" class="link">Login</a>
    <?php }?>
    </td>
  </tr>
  <?php if (strlen($_smarty_tpl->tpl_vars['s_activId']->value)>0){?>
  <tr align="center">
    <td class="bluebg1">
      <div class="suckertreemenu">
      <br />
        <ul id="treemenu1">
	          <li><a href="backup.php" style="width:15px;" class="link">&#2384;</a></li>
	          <li><a href="#" class="link" style="width:100px;">Master</a>
	            <ul>
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	              <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=8){?>
	                <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	              <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	        <li><a href="#" class="link">Processing</a>
            <ul> 
              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	              <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=9&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=12){?>
	                <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	              <?php }?>
	            <?php endfor; endif; ?>
            </ul>	        
	        </li>
	        <li><a href="#" class="link">Main</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=13&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=15){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	          <li><a href="#" class="link">BILL</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=16&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=17){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
	          <li><a href="#" class="link">Reports</a>
	            <ul> 
	              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['name'] = 'menu';
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['selUsermenuArr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['menu']['total']);
?>
	                <?php if ($_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']>=18&&$_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuId']<=20){?>
	                  <li><a href="<?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuName'];?>
.php" class="link" align="left"><?php echo $_smarty_tpl->tpl_vars['selUsermenuArr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['menu']['index']]['menuDisplay'];?>
</a></li>
	                <?php }?>
	              <?php endfor; endif; ?>
	            </ul>
	          </li>
            </ul>
          </li>
        </ul>
      <br /><br /><br />
      </div>
    </td>
  </tr>
  <?php }?>
  <tr>
  <td class="content">
   
<form name="form1" id="form1" action="<?php echo $_SERVER['PHP_SELF'];?>
" method="post">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td class="table1" align="center">Material : 
			<select name="materialId" AUTOFOCUS>
				<option value="">Select</option>
				<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['materialArray']->value['materialId'],'output'=>$_smarty_tpl->tpl_vars['materialArray']->value['materialName'],'selected'=>$_smarty_tpl->tpl_vars['selMaterialId']->value),$_smarty_tpl);?>

		  </select>
		</td>
		<td class="table1" align="center">Party :
			<input type="text" name="party" id="party"/>
			<input type="hidden" name="partyId" id="partyId" />
			<input type="hidden" name="partyName" id="partyName" />
		</td>
		<td class="table1" align="center">Incoming Challan :
			<input type="text" name="incomingChallan" id="incomingChallan" />
			<input type="hidden" name="incomingIdAuto" id="incomingIdAuto" />
			<input type="hidden" name="incChallan" id="incChallan" />
		</td>
		<td class="table1" align="center">From : <?php echo smarty_function_html_select_date(array('prefix'=>"fromDate",'start_year'=>"-0",'end_year'=>"+2",'field_order'=>"DMY",'month_format'=>"%m",'day_value_format'=>"%02d"),$_smarty_tpl);?>
</td>
		<td class="table1" align="center">To : <?php echo smarty_function_html_select_date(array('prefix'=>"toDate",'start_year'=>"-0",'end_year'=>"+2",'field_order'=>"DMY",'month_format'=>"%m",'day_value_format'=>"%02d"),$_smarty_tpl);?>
</td>
		<td class="table1" align="center"><input type="submit" name="showData" class="link" value=" SHOW DATA " /></td>
	</tr>
</table>
</form>
<?php if ($_smarty_tpl->tpl_vars['incArray']->value!=0){?>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
	<td class="table1" align="center" valign="top">.&bull;.</td>
	<td class="table1" align="center" valign="top">_.:&bull;:._</td>
	<td class="table1" align="center" valign="top">Log Date</td>
	<td class="table1" align="center" valign="top">Inc.<br>Date</td>
	<td class="table1" align="center" valign="top">Batch No.</td>
	<td class="table1" align="center" valign="top">Inc.<br>Challan</td>
	<td class="table1" align="center" valign="top">Party</td>
	<td class="table1" align="center" valign="top">Process</td>
	<td class="table1" align="center" valign="top">Temp.</td>
	<td class="table1" align="center" valign="top">Soaking</td>
	<td class="table1" align="center" valign="top">Start<br>Time</td>
	<td class="table1" align="center" valign="top">Start<br>Temp.</td>
	<td class="table1" align="center" valign="top">Soaking<br>Start Time</td>
	<td class="table1" align="center" valign="top">End Time</td>
	<td class="table1" align="center" valign="top">End Temp.</td>
	<td class="table1" align="center" valign="top">Quencing<br>Media</td>
	<td class="table1" align="center" valign="top">Quencing<br>Time</td>
	<td class="table1" align="center" valign="top">Temp.<br>Bfor<br>Quencing</td>
	<td class="table1" align="center" valign="top">Temp.<br>After<br>Quencing</td>
	<td class="table1" align="center" valign="top">Status</td>
	<td class="table1" align="center" valign="top">Hardness<br>Required</td>
	<td class="table1" align="center" valign="top">Reason</td>
</tr>
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['incArray']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']);
?>
  <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['name'] = 'sec2';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec2']['total']);
?>
  <tr>
  	<td class="table2" align="center" valign="top" NOWRAP>
  		<?php if ($_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['pmrDone']=='Y'){?>
  		  <a href="processMonitoringEdit.php?incomingId=<?php echo $_smarty_tpl->tpl_vars['incArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['incomingId'];?>
&logSheetId=<?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['logSheetId'];?>
" style="color:green;" target="_blank">
  		  	PM Report
  		  </a>
  		<?php }else{ ?>
  		  <a href="processMonitoring.php?incomingId=<?php echo $_smarty_tpl->tpl_vars['incArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['incomingId'];?>
&logSheetId=<?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['logSheetId'];?>
"> PM Report</a>
  		<?php }?>
  	</td>
  	<td class="table2" align="center" valign="top" NOWRAP>
  		<?php if ($_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['pmMasterId']>0){?>
  		  <a href="pmPrint.php?logSheetId=<?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['logSheetId'];?>
&pmMasterId=<?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['pmMasterId'];?>
" style="color:green;" target="_blank"> Print </a>
  		<?php }else{ ?>
  		  &nbsp;
  		<?php }?>
  	</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['logsheetDate'];?>
</td>
  	<td class="table2" align="center" valign="top" style="font-size:10px;" NOWRAP><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['IncomingDate'];?>
</td>
  	<td class="table2" align="center" valign="top" NOWRAP><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['furnace'];?>
/<?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['logsheetNo'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['challan'];?>
</td>
  	<td class="table2" align="center" valign="top" style="font-size:10px;" NOWRAP><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['partyName'];?>
</td>
  	<td class="table2" align="center" valign="top" style="font-size:10px;" NOWRAP><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['process'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['temp'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['soaking'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['startTime'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['startTemperature'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['soakingStartTime'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['endTime'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['endTemperature'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['qMName'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['quenchingTime'];?>
 sec</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['tempBforQue'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['tempAfterQue'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['status'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['hardne'];?>
</td>
  	<td class="table2" align="center" valign="top"><?php echo $_smarty_tpl->tpl_vars['logArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']][$_smarty_tpl->getVariable('smarty')->value['section']['sec2']['index']]['notOkReason'];?>
</td>
  </tr>
  <?php endfor; endif; ?>
<?php endfor; endif; ?>
</table>
<?php }?>

  </td>
  </tr>
  <tr>
    <td class="bluebg1">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/corner3.gif" width="6" height="7" /></td>
        <td></td>
        <td align="right"><img src="images/corner4.gif" width="6" height="7" /></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</body>
</html><?php }} ?>